package com.study.model.pojo.FDpojo;

import java.io.Serializable;
import javax.persistence.*;
import java.math.BigDecimal;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.NamedQuery;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;


/**
 * The persistent class for the purchase_payment database table.
 * 
 */
@Entity
@Table(name="purchase_payment")
@NamedQuery(name="PurchasePayment.findAll", query="SELECT p FROM PurchasePayment p")
public class PurchasePayment implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	@Column(name="pay_id")
	private int payId;

	private double arrearages;

	private double money;

	private double paidamount;

	@Column(name="paid_amount")
	private double paidAmount;

	@Temporal(TemporalType.TIMESTAMP)
	@Column(name="pay_date")
	private Date payDate;

	private double payment;

	private String prepareder;

	private String purorderid;

	private String remarks;

	private int state;

	private int supplier;

	private String verifier;

	public PurchasePayment() {
	}

	public int getPayId() {
		return this.payId;
	}

	public void setPayId(int payId) {
		this.payId = payId;
	}

	public double getArrearages() {
		return this.arrearages;
	}

	public void setArrearages(double arrearages) {
		this.arrearages = arrearages;
	}

	public double getMoney() {
		return this.money;
	}

	public void setMoney(double money) {
		this.money = money;
	}

	public double getPaidAmount() {
		return this.paidAmount;
	}

	public void setPaidAmount(double paidAmount) {
		this.paidAmount = paidAmount;
	}

	public Date getPayDate() {
		return this.payDate;
	}

	public void setPayDate(Date payDate) {
		this.payDate = payDate;
	}

	public double getPayment() {
		return this.payment;
	}

	public void setPayment(double payment) {
		this.payment = payment;
	}

	public String getPrepareder() {
		return this.prepareder;
	}

	public void setPrepareder(String prepareder) {
		this.prepareder = prepareder;
	}

	public String getPurorderid() {
		return this.purorderid;
	}

	public void setPurorderid(String purorderid) {
		this.purorderid = purorderid;
	}

	public String getRemarks() {
		return this.remarks;
	}

	public void setRemarks(String remarks) {
		this.remarks = remarks;
	}

	public int getState() {
		return this.state;
	}

	public void setState(int state) {
		this.state = state;
	}

	public int getSupplier() {
		return this.supplier;
	}

	public void setSupplier(int i) {
		this.supplier = i;
	}

	public String getVerifier() {
		return this.verifier;
	}

	public void setVerifier(String verifier) {
		this.verifier = verifier;
	}

}